package com.relytosoft.mizar.analyze.face.api.pojo.dto;

import com.relytosoft.dubhe.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Author: zyc
 * @version: v1.0
 * @description: com.relytosoft.mizar.analyze.structure.api.pojo.dto
 * @Date: 2022/5/24 12:52
 */
@ApiModel("AyTaskIdDto")
public class AyTaskIdDto extends BaseEntity {

    /**
     * 任务id组
     */
    @ApiModelProperty(value = "任务id组")
    List<Integer> ids;

    /**
     * 任务名称
     */
    @ApiModelProperty(value = "任务名称", required = true)
    @NotBlank(message = "任务名称不能为空")
    private String taskName;

    public List<Integer> getIds() {
        return ids;
    }

    public void setIds(List<Integer> ids) {
        this.ids = ids;
    }

    /**
     * 获得任务名称
     */
    public String getTaskName() {
        return this.taskName;
    }

    /**
     * 设置任务名称
     */
    public void setTaskName(String name) {
        this.taskName = name;
    }

    @Override
    public String toString() {
        return "AyTaskIdDto{" +
                "ids=" + ids +
                ",taskName=" + taskName +
                ", createdId=" + createdId +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedId=" + updatedId +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedTime=" + updatedTime +
                '}';
    }
}
